"""
@author: 周末
--------------------------------------
@project: application
--------------------------------------
@contact:15892766524@163.com
--------------------------------------
@file: MemberApi.py
--------------------------------------
@time: 2021/11/12 11:37
--------------------------------------
"""
from Common.Request import Request
from Route.AppRoute import LOGINURL


class MemberApi(object):
    def login(self, **kwargs):
        """
        用户登录接口
        :param kwargs:
        :return:
        """
        return Request.send(method='post', url=LOGINURL, data=kwargs)


if __name__ == '__main__':
    menber = MemberApi()
    menber.login(username='Tomcat', password='111111')
